package coco.wx.com.module.question.mapper;

import coco.wx.com.common.dto.TempMap;
import coco.wx.com.module.question.entity.Question;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  Mapper 接口
 *
 * @author srx
 * @since 2020-10-23
 */
public interface QuestionMapper extends BaseMapper<Question> {

    /**
     * @param dto dto
     * @return List<Question>
     */
    List<Question> getQuestionsSort(TempMap dto);

    /**
     * @param dto dto
     * @return List<Question>
     */
    List<Question> getQuestionsNoSort(TempMap dto);
}
